﻿using System.Windows.Controls;
using Microsoft.Extensions.DependencyInjection;
using RotovapPlatform.UI.ViewModels.DeviceMaintenance;

namespace RotovapPlatform.UI.Views.DeviceMaintenance
{
	/// <summary>
	/// DeviceParameterView.xaml 的交互逻辑
	/// </summary>
	public partial class DeviceParameterView : UserControl
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public DeviceParameterView()
		{
			InitializeComponent();

			// 设置DataContext
			DataContext = App.ServiceProvider.GetRequiredService<DeviceParameterViewModel>();
		}
	}
}